import React from "react";
import {Router,Route,hashHistory,IndexRoute} from "react-router";
import Footer from "./footer";
import Hot from "./nav/hot";
import Category from "./nav/category";
import Mine from "./nav/mine";


export default class MobileIndex extends React.Component{
	render(){
		return(
			<Router history={hashHistory}>
				<Route path="/" component={Footer}>
					<IndexRoute component={Hot}></IndexRoute>
					<Route path="/category" component={Category}></Route>
					<Route path="/mine" component={Mine}></Route>
				</Route>
			</Router>
		)
		
	}
}